package com.ycsj.goldmedalnewconcept.master.bean;

import java.util.List;

/**
 * 红包模型
 */

public class PackInfo {

    /**
     * redPackets : [{"title":"学有所成","person":6,"redId":1,"robbedPerson":0,"usedMoney":0,"money":800,"createDate":"2017-11-03 09:52:01"},{"title":"学有所成","person":6,"redId":2,"robbedPerson":6,"usedMoney":0,"money":800,"createDate":"2017-11-03 09:52:10"},{"title":"学有所成，前程似锦！","person":1,"redId":10,"robbedPerson":1,"usedMoney":0,"money":2,"createDate":"2017-11-06 12:07:45"},{"title":"学有所成，前程似锦！","person":5,"redId":15,"robbedPerson":0,"usedMoney":0,"money":12,"createDate":"2017-11-07 14:06:05"}]
     * totleRobbed : 7
     * state : 1
     * totleMoney : 1614
     * totleUsed : 0
     */

    private int totleRobbed;
    private String state;
    private int totleMoney;
    private int totleUsed;
    private List<RedPacketsBean> redPackets;

    public int getTotleRobbed() {
        return totleRobbed;
    }

    public void setTotleRobbed(int totleRobbed) {
        this.totleRobbed = totleRobbed;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getTotleMoney() {
        return totleMoney;
    }

    public void setTotleMoney(int totleMoney) {
        this.totleMoney = totleMoney;
    }

    public int getTotleUsed() {
        return totleUsed;
    }

    public void setTotleUsed(int totleUsed) {
        this.totleUsed = totleUsed;
    }

    public List<RedPacketsBean> getRedPackets() {
        return redPackets;
    }

    public void setRedPackets(List<RedPacketsBean> redPackets) {
        this.redPackets = redPackets;
    }

    public static class RedPacketsBean {
        /**
         * title : 学有所成
         * person : 6
         * redId : 1
         * robbedPerson : 0
         * usedMoney : 0
         * money : 800
         * createDate : 2017-11-03 09:52:01
         */

        private String title;
        private int person;
        private int redId;
        private int robbedPerson;
        private int usedMoney;
        private int money;
        private String createDate;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPerson() {
            return person;
        }

        public void setPerson(int person) {
            this.person = person;
        }

        public int getRedId() {
            return redId;
        }

        public void setRedId(int redId) {
            this.redId = redId;
        }

        public int getRobbedPerson() {
            return robbedPerson;
        }

        public void setRobbedPerson(int robbedPerson) {
            this.robbedPerson = robbedPerson;
        }

        public int getUsedMoney() {
            return usedMoney;
        }

        public void setUsedMoney(int usedMoney) {
            this.usedMoney = usedMoney;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }
    }
}
